package com.information.manage.basic.audit.constant;

public enum ShrlxEnum {

    USER("人员审核"),
    ROLE("角色审核"),
    ;

    private String description;

    private ShrlxEnum(String description){
        this.description = description;
    }

    public static boolean contains(String type) {
        for (ShrlxEnum reviewerTypeEnum : ShrlxEnum.values()) {
            if (reviewerTypeEnum.name().equalsIgnoreCase(type)) {
                return true;
            }
        }
        return false;
    }
}
